<?php
namespace app\index\controller;
use app\common\model\LinkModel;

class Common
{
  public function link()
  {

  	$data = (new LinkModel)->getAllLink();

  	return json(['status'=>200,'msg'=>'成功','data'=>$data]);
  }

}
